public class BallState_Rebound : AbstractBallState
{
	public static BallState_Rebound instance;

	private BallState_Rebound()
	{
	}

	public static BallState_Rebound getInstance()
	{
		if (instance == null)
		{
			instance = new BallState_Rebound();
		}
		return instance;
	}

	public override void enter(Ball owner)
	{
		base.enter(owner);
		owner.isRebounded = false;
	}

	public override void fixedUpdate(Ball owner)
	{
		base.fixedUpdate(owner);
		owner.useGravity();
		owner.IsBallOutSide();
	}
}
